package com.ruoyi.ylyx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播管理对象 ylyx_banner
 * 
 * @author yuexl
 * @date 2021-02-05
 */
public class YlyxBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** banner图片 */
    @Excel(name = "banner图片")
    private String bannerImg;

    /** 轮播详情 */
    @Excel(name = "轮播详情")
    private String bannerContent;

    /** 轮播标题 */
    @Excel(name = "轮播标题")
    private String bannerTitle;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBannerImg(String bannerImg) 
    {
        this.bannerImg = bannerImg;
    }

    public String getBannerImg() 
    {
        return bannerImg;
    }
    public void setBannerContent(String bannerContent) 
    {
        this.bannerContent = bannerContent;
    }

    public String getBannerContent() 
    {
        return bannerContent;
    }
    public void setBannerTitle(String bannerTitle) 
    {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerTitle() 
    {
        return bannerTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerImg", getBannerImg())
            .append("bannerContent", getBannerContent())
            .append("bannerTitle", getBannerTitle())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
